package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.WordCategory;
import com.ruoyi.system.mapper.WordCategoryMapper;
import com.ruoyi.system.service.IWordCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class WordCategoryServiceImpl implements IWordCategoryService {
    @Autowired
    private WordCategoryMapper categoryMapper;

    @Override
    public List<WordCategory> getAllCategories() {
        return categoryMapper.selectAllCategories();
    }
}
